import React from 'react'
import {useRoutes,BrowserRouter} from "react-router-dom"
import {Suspense} from "react"
import routerlist from '../router'
function App() {

  return (
    <>
      
        <Suspense fallback={<>loading</>}>
             {
                 useRoutes(routerlist)
             }
        </Suspense>
      
    </>
  )
}

export default App